package com.ydd.vo;

import com.ydd.dto.AdvimgDTO;
import com.ydd.dto.TagDTO;
import com.ydd.vo.common.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Description TODO
 * Author itheima
 * Date 2023-05-2023/5/29 16:04
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "GET 首页和全局数据",description = "null响应传输对象")
public class IndexIndexVO implements Serializable {

    @ApiModelProperty("所有分类数据")
    private List<CateVO> allCate = new ArrayList<>();

    @ApiModelProperty("配置")
    private Config config;

    @ApiModelProperty("所有标签")
    private List<TagVO> allTag=new ArrayList<>();

    @ApiModelProperty("所有友情连接（文字和图片）")
    private List<LinkVO> allLink=new ArrayList<>();

    @ApiModelProperty("轮播图数据")
    private List<AdvimgVO> banner=new ArrayList<>();

    @ApiModelProperty("侧边栏图片")
    private List<AdvimgVO> sideBanner=new ArrayList<>();

    @ApiModelProperty("详情广告图片")
    private List<AdvimgVO> showBanner=new ArrayList<>();



}
